package com.springboot.job;

import org.quartz.JobExecutionContext;
import org.quartz.JobExecutionException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.scheduling.quartz.QuartzJobBean;

import java.time.LocalDate;

public class UserCheckJob extends QuartzJobBean {

    private static Logger logger = LoggerFactory.getLogger(UserAddJob.class);
    @Override
    protected void executeInternal(JobExecutionContext context) throws JobExecutionException {
        logger.info("执行库存检查定时任务，执行时间：{}", LocalDate.now());
    }
}
